home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 34 / Amiga Format CD34 (1998-11-20)(Future Publishing)(GB)[!][Christmas issue].iso / -seriously_amiga- / programming / c / mesa-2.6 / include / fd / gl.fd next >
Text File  |  1998-10-01  |  17KB  |  505 lines

  1. * "mesamain.library"
  2. ##base _mesamainBase
  3. ##bias 30
  4. * Core mesa stuff
  5. ##public
  6. glClearIndex(c)(fp0)
  7. glClearColor(red,green,blue,alpha)(fp0/fp1/fp2/fp3)
  8. glClear(mask)(d0)
  9. glIndexMask(mask)(d0)
  10. glColorMask(red,green,blue,alpha)(d0/d1/d2/d3)
  11. glAlphaFunc(func,ref)(d0/fp0)
  12. glBlendFunc(sfactor,dfactor)(d0/d1)
  13. glLogicOp(opcode)(d0)
  14. glCullFace(mode)(d0)
  15. glFrontFace(mode)(d0)
  16. glPointSize(size)(fp0)
  17. glLineWidth(width)(fp0)
  18. glLineStipple(factor,pattern)(d0/d1)
  19. glPolygonMode(face,mode)(d0/d1)
  20. glPolygonOffset(factor,units)(fp0/fp1)
  21. glPolygonStipple(mask)(a0)
  22. glGetPolygonStipple(mask)(a0)
  23. glEdgeFlag(flag)(d0)
  24. glEdgeFlagv(flag)(a0)
  25. glScissor(x,y,width,height)(d0/d1/d2/d3)
  26. glClipPlane(plane,equation)(d0/a0)
  27. glGetClipPlane(plane,equation)(d0/a0)
  28. glDrawBuffer(mode)(d0)
  29. glReadBuffer(mode)(d0)
  30. glEnable(cap)(d0)
  31. glDisable(cap)(d0)
  32. glIsEnabled(cap)(d0)
  33. glEnableClientState(cap)(d0)
  34. glDisableClientState(cap)(d0)
  35. glGetBooleanv(pname,params)(d0/a0)
  36. glGetDoublev(pname,params)(d0/a0)
  37. glGetFloatv(pname,params)(d0/a0)
  38. glGetIntegerv(pname,params)(d0/a0)
  39. glPushAttrib(mask)(d0)
  40. glPopAttrib()()
  41. glPushClientAttrib(mask)(d0)
  42. glPopClientAttrib()()
  43. glRenderMode(mode)(d0)
  44. glGetError()()
  45. glGetString(name)(d0)
  46. glFinish()()
  47. glFlush()()
  48. glHint(target,mode)(d0/d1)
  49. glClearDepth(depth)(fp0)
  50. glDepthFunc(func)(d0)
  51. glDepthMask(flag)(d0)
  52. glDepthRange(near_val,far_val)(fp0/fp1)
  53. glClearAccum(red,green,blue,alpha)(fp0/fp1/fp2/fp3)
  54. glAccum(op,value)(d0/fp0)
  55. glMatrixMode(mode)(d0)
  56. ##private
  57. glOrthoA(args)(a0)
  58. glOrtho(left,right,bottom,top,near_val,far_val)(fp0/fp1/fp2/fp3/fp4/fp5)
  59. ##public
  60. ##private
  61. glFrustumA(args)(a0)
  62. glFrustum(left,right,bottom,top,near_val,far_val)(fp0/fp1/fp2/fp3/fp4/fp5)
  63. ##public
  64. glViewport(x,y,width,height)(d0/d1/d2/d3)
  65. glPushMatrix()()
  66. glPopMatrix()()
  67. glLoadIdentity()()
  68. glLoadMatrixd(m)(a0)
  69. glLoadMatrixf(m)(a0)
  70. glMultMatrixd(m)(a0)
  71. glMultMatrixf(m)(a0)
  72. glRotated(angle,x,y,z)(fp0/fp1/fp2/fp3)
  73. glRotatef(angle,x,y,z)(fp0/fp1/fp2/fp3)
  74. glScaled(x,y,z)(fp0/fp1/fp2)
  75. glScalef(x,y,z)(fp0/fp1/fp2)
  76. glTranslated(x,y,z)(fp0/fp1/fp2)
  77. glTranslatef(x,y,z)(fp0/fp1/fp2)
  78. glIsList(list)(d0)
  79. glDeleteLists(list,range)(d0/d1)
  80. glGenLists(range)(d0)
  81. glNewList(list,mode)(d0/d1)
  82. glEndList()()
  83. glCallList(list)(d0)
  84. glCallLists(n,type,lists)(d0/d1/a0)
  85. glListBase(base)(d0)
  86. glBegin(mode)(d0)
  87. glEnd()()
  88. glVertex2d(x,y)(fp0/fp1)
  89. glVertex2f(x,y)(fp0/fp1)
  90. glVertex2i(x,y)(d0/d1)
  91. glVertex2s(x,y)(d0/d1)
  92. glVertex3d(x,y,z)(fp0/fp1/fp2)
  93. glVertex3f(x,y,z)(fp0/fp1/fp2)
  94. glVertex3i(x,y,z)(d0/d1/d2)
  95. glVertex3s(x,y,z)(d0/d1/d2)
  96. glVertex4d(x,y,z,w)(fp0/fp1/fp2/fp3)
  97. glVertex4f(x,y,z,w)(fp0/fp1/fp2/fp3)
  98. glVertex4i(x,y,z,w)(d0/d1/d2/d3)
  99. glVertex4s(x,y,z,w)(d0/d1/d2/d3)
  100. glVertex2dv(v)(a0)
  101. glVertex2fv(v)(a0)
  102. glVertex2iv(v)(a0)
  103. glVertex2sv(v)(a0)
  104. glVertex3dv(v)(a0)
  105. glVertex3fv(v)(a0)
  106. glVertex3iv(v)(a0)
  107. glVertex3sv(v)(a0)
  108. glVertex4dv(v)(a0)
  109. glVertex4fv(v)(a0)
  110. glVertex4iv(v)(a0)
  111. glVertex4sv(v)(a0)
  112. glNormal3b(nx,ny,nz)(d0/d1/d2)
  113. glNormal3d(nx,ny,nz)(fp0/fp1/fp2)
  114. glNormal3f(nx,ny,nz)(fp0/fp1/fp2)
  115. glNormal3i(nx,ny,nz)(d0/d1/d2)
  116. glNormal3s(nx,ny,nz)(d0/d1/d2)
  117. glNormal3bv(v)(a0)
  118. glNormal3dv(v)(a0)
  119. glNormal3fv(v)(a0)
  120. glNormal3iv(v)(a0)
  121. glNormal3sv(v)(a0)
  122. glIndexd(c)(fp0)
  123. glIndexf(c)(fp0)
  124. glIndexi(c)(d0)
  125. glIndexs(c)(d0)
  126. glIndexub(c)(d0)
  127. glIndexdv(c)(a0)
  128. glIndexfv(c)(a0)
  129. glIndexiv(c)(a0)
  130. glIndexsv(c)(a0)
  131. glIndexubv(c)(a0)
  132. glColor3b(red,green,blue)(d0/d1/d2)
  133. glColor3d(red,green,blue)(fp0/fp1/fp2)
  134. glColor3f(red,green,blue)(fp0/fp1/fp2)
  135. glColor3i(red,green,blue)(d0/d1/d2)
  136. glColor3s(red,green,blue)(d0/d1/d2)
  137. glColor3ub(red,green,blue)(d0/d1/d2)
  138. glColor3ui(red,green,blue)(d0/d1/d2)
  139. glColor3us(red,green,blue)(d0/d1/d2)
  140. glColor4b(red,green,blue,alpha)(d0/d1/d2/d3)
  141. glColor4d(red,green,blue,alpha)(fp0/fp1/fp2/fp3)
  142. glColor4f(red,green,blue,alpha)(fp0/fp1/fp2/fp3)
  143. glColor4i(red,green,blue,alpha)(d0/d1/d2/d3)
  144. glColor4s(red,green,blue,alpha)(d0/d1/d2/d3)
  145. glColor4ub(red,green,blue,alpha)(d0/d1/d2/d3)
  146. glColor4ui(red,green,blue,alpha)(d0/d1/d2/d3)
  147. glColor4us(red,green,blue,alpha)(d0/d1/d2/d3)
  148. glColor3bv(v)(a0)
  149. glColor3dv(v)(a0)
  150. glColor3fv(v)(a0)
  151. glColor3iv(v)(a0)
  152. glColor3sv(v)(a0)
  153. glColor3ubv(v)(a0)
  154. glColor3uiv(v)(a0)
  155. glColor3usv(v)(a0)
  156. glColor4bv(v)(a0)
  157. glColor4dv(v)(a0)
  158. glColor4fv(v)(a0)
  159. glColor4iv(v)(a0)
  160. glColor4sv(v)(a0)
  161. glColor4ubv(v)(a0)
  162. glColor4uiv(v)(a0)
  163. glColor4usv(v)(a0)
  164. glTexCoord1d(s)(fp0)
  165. glTexCoord1f(s)(fp0)
  166. glTexCoord1i(s)(d0)
  167. glTexCoord1s(s)(d0)
  168. glTexCoord2d(s,t)(fp0/fp1)
  169. glTexCoord2f(s,t)(fp0/fp1)
  170. glTexCoord2i(s,t)(d0/d1)
  171. glTexCoord2s(s,t)(d0/d1)
  172. glTexCoord3d(s,t,r)(fp0/fp1/fp2)
  173. glTexCoord3f(s,t,r)(fp0/fp1/fp2)
  174. glTexCoord3i(s,t,r)(d0/d1/d2)
  175. glTexCoord3s(s,t,r)(d0/d1/d2)
  176. glTexCoord4d(s,t,r,q)(fp0/fp1/fp2/fp3)
  177. glTexCoord4f(s,t,r,q)(fp0/fp1/fp2/fp3)
  178. glTexCoord4i(s,t,r,q)(d0/d1/d2/d3)
  179. glTexCoord4s(s,t,r,q)(d0/d1/d2/d3)
  180. glTexCoord1dv(v)(a0)
  181. glTexCoord1fv(v)(a0)
  182. glTexCoord1iv(v)(a0)
  183. glTexCoord1sv(v)(a0)
  184. glTexCoord2dv(v)(a0)
  185. glTexCoord2fv(v)(a0)
  186. glTexCoord2iv(v)(a0)
  187. glTexCoord2sv(v)(a0)
  188. glTexCoord3dv(v)(a0)
  189. glTexCoord3fv(v)(a0)
  190. glTexCoord3iv(v)(a0)
  191. glTexCoord3sv(v)(a0)
  192. glTexCoord4dv(v)(a0)
  193. glTexCoord4fv(v)(a0)
  194. glTexCoord4iv(v)(a0)
  195. glTexCoord4sv(v)(a0)
  196. glRasterPos2d(x,y)(fp0/fp1)
  197. glRasterPos2f(x,y)(fp0/fp1)
  198. glRasterPos2i(x,y)(d0/d1)
  199. glRasterPos2s(x,y)(d0/d1)
  200. glRasterPos3d(x,y,z)(fp0/fp1/fp2)
  201. glRasterPos3f(x,y,z)(fp0/fp1/fp2)
  202. glRasterPos3i(x,y,z)(d0/d1/d2)
  203. glRasterPos3s(x,y,z)(d0/d1/d2)
  204. glRasterPos4d(x,y,z,w)(fp0/fp1/fp2/fp3)
  205. glRasterPos4f(x,y,z,w)(fp0/fp1/fp2/fp3)
  206. glRasterPos4i(x,y,z,w)(d0/d1/d2/d3)
  207. glRasterPos4s(x,y,z,w)(d0/d1/d2/d3)
  208. glRasterPos2dv(v)(a0)
  209. glRasterPos2fv(v)(a0)
  210. glRasterPos2iv(v)(a0)
  211. glRasterPos2sv(v)(a0)
  212. glRasterPos3dv(v)(a0)
  213. glRasterPos3fv(v)(a0)
  214. glRasterPos3iv(v)(a0)
  215. glRasterPos3sv(v)(a0)
  216. glRasterPos4dv(v)(a0)
  217. glRasterPos4fv(v)(a0)
  218. glRasterPos4iv(v)(a0)
  219. glRasterPos4sv(v)(a0)
  220. glRectd(x1,y1,x2,y2)(fp0/fp1/fp2/fp3)
  221. glRectf(x1,y1,x2,y2)(fp0/fp1/fp2/fp3)
  222. glRecti(x1,y1,x2,y2)(d0/d1/d2/d3)
  223. glRects(x1,y1,x2,y2)(d0/d1/d2/d3)
  224. glRectdv(v1,v2)(a0/a1)
  225. glRectfv(v1,v2)(a0/a1)
  226. glRectiv(v1,v2)(a0/a1)
  227. glRectsv(v1,v2)(a0/a1)
  228. glVertexPointer(size,type,stride,ptr)(d0/d1/d2/a0)
  229. glNormalPointer(type,stride,ptr)(d0/d1/a0)
  230. glColorPointer(size,type,stride,ptr)(d0/d1/d2/a0)
  231. glIndexPointer(type,stride,ptr)(d0/d1/a0)
  232. glTexCoordPointer(size,type,stride,ptr)(d0/d1/d2/a0)
  233. glEdgeFlagPointer(stride,ptr)(d0/a0)
  234. glGetPointerv(pname,params)(d0/a0)
  235. glArrayElement(i)(d0)
  236. glDrawArrays(mode,first,count)(d0/d1/d2)
  237. glDrawElements(mode,count,type,indices)(d0/d1/d2/a0)
  238. glInterleavedArrays(format,stride,pointer)(d0/d1/a0)
  239. glShadeModel(mode)(d0)
  240. glLightf(light,pname,param)(d0/d1/fp0)
  241. glLighti(light,pname,param)(d0/d1/d2)
  242. glLightfv(light,pname,params)(d0/d1/a0)
  243. glLightiv(light,pname,params)(d0/d1/a0)
  244. glGetLightfv(light,pname,params)(d0/d1/a0)
  245. glGetLightiv(light,pname,params)(d0/d1/a0)
  246. glLightModelf(pname,param)(d0/fp0)
  247. glLightModeli(pname,param)(d0/d1)
  248. glLightModelfv(pname,params)(d0/a0)
  249. glLightModeliv(pname,params)(d0/a0)
  250. glMaterialf(face,pname,param)(d0/d1/fp0)
  251. glMateriali(face,pname,param)(d0/d1/d2)
  252. glMaterialfv(face,pname,params)(d0/d1/a0)
  253. glMaterialiv(face,pname,params)(d0/d1/a0)
  254. glGetMaterialfv(face,pname,params)(d0/d1/a0)
  255. glGetMaterialiv(face,pname,params)(d0/d1/a0)
  256. glColorMaterial(face,mode)(d0/d1)
  257. glPixelZoom(xfactor,yfactor)(fp0/fp1)
  258. glPixelStoref(pname,param)(d0/fp0)
  259. glPixelStorei(pname,param)(d0/d1)
  260. glPixelTransferf(pname,param)(d0/fp0)
  261. glPixelTransferi(pname,param)(d0/d1)
  262. glPixelMapfv(map,mapsize,values)(d0/d1/a0)
  263. glPixelMapuiv(map,mapsize,values)(d0/d1/a0)
  264. glPixelMapusv(map,mapsize,values)(d0/d1/a0)
  265. glGetPixelMapfv(map,values)(d0/a0)
  266. glGetPixelMapuiv(map,values)(d0/a0)
  267. glGetPixelMapusv(map,values)(d0/a0)
  268. ##private
  269. glBitmapA(args)(a0)
  270. glBitmap(width,height,xorig,yorig,xmove,ymove,bitmap)(d0/d1/fp0/fp1/fp2/fp3/a0)
  271. ##public
  272. glReadPixels(x,y,width,height,format,type,pixels)(d0/d1/d2/d3/d4/d5/a0)
  273. glDrawPixels(width,height,format,type,pixels)(d0/d1/d2/d3/a0)
  274. glCopyPixels(x,y,width,height,type)(d0/d1/d2/d3/d4)
  275. glStencilFunc(func,ref,mask)(d0/d1/d2)
  276. glStencilMask(mask)(d0)
  277. glStencilOp(fail,zfail,zpass)(d0/d1/d2)
  278. glClearStencil(s)(d0)
  279. glTexGend(coord,pname,param)(d0/d1/fp0)
  280. glTexGenf(coord,pname,param)(d0/d1/fp0)
  281. glTexGeni(coord,pname,param)(d0/d1/d2)
  282. glTexGendv(coord,pname,params)(d0/d1/a0)
  283. glTexGenfv(coord,pname,params)(d0/d1/a0)
  284. glTexGeniv(coord,pname,params